<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>个人简介</title>
<style>
  /* 全局样式 */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
  }

  /* 导航栏样式 */
  nav {
    background: #333;
    color: white;
    padding: 1rem;
  }
  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
  }
  nav ul li {
    padding: 0 1rem;
  }
  nav ul li a {
    color: white;
    text-decoration: none;
  }

  /* 欢迎信息样式 */
  .welcome {
    text-align: center;
    padding: 2rem 1rem;
    background: url('./image/1.jpg') no-repeat center center/cover;
    color: white;
  }
  .welcome h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
  }
  .welcome p {
    font-size: 1.2rem;
  }

  /* 关于我样式 */
  .about {
    background: #fff;
    padding: 2rem 1rem;
    margin: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  .about img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 1rem;
  }
  .about p {
    text-align: justify;
  }

  /* 联系我样式 */
  .contact {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
  }
  .contact a {
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
  }

  /* 响应式设计 */
  @media (max-width: 768px) {
    .welcome h1 {
      font-size: 2rem;
    }
    nav ul {
      flex-direction: column;
    }
  }
</style>
  <div>
    <form action="/login" method="get">
      <input type="text" name="username" /><br>
      <input type="password" name="userpwd" /><br>
      <input type="submit" value="提交" /><br>
    </form>
  </div>
</head>
<body>

<nav>
  <ul>
    <li><a href="#welcome">首页</a></li>
    <li><a href="#about">关于我</a></li>
    <li><a href="#contact">更多操作</a></li>
  </ul>
</nav>

<section id="welcome" class="welcome">
  <h1>欢迎您来到我的个人主页</h1>
  <p>探索更多，了解更多。</p>
</section>

<section id="about" class="about">
  <img src="./image/2.png" alt="照片">
  <h2>关于我</h2>
  <p>这里是一些关于我的信息。我喜欢编写代码，解决复杂的问题，并且热爱学习新的东西。当我不在电脑前的时候，我享受户外活动和阅读书籍。</p>
</section>

<footer id="contact" class="contact">
  <h2>更多操作</h2>
  <a href="./login.html">登录页</a>
  <a href="./404.html" target="_blank">404</a>
  <a href="./redir" target="_blank">重定向</a>
</footer>

</body>
</html>